package com.ruoyi.chiwen.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 普通用户管理对象 tb_user
 * 
 * @author chiwen
 * @date 2021-06-14
 */
public class TbUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long userId;

    /** 手机号，账号 */
    @Excel(name = "手机号，账号")
    private String phoneNumber;

    /** 可用额度 */
    @Excel(name = "可用额度")
    private Integer availableCredit;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCardNumber;

    /** 身份证照片-正面 */
    @Excel(name = "身份证照片-正面")
    private String idCardPositive;

    /** 身份证照片-反面 */
    @Excel(name = "身份证照片-反面")
    private String idCardReverse;

    /** 月收入 */
    @Excel(name = "月收入")
    private Long monthIn;

    /** 是否有信用卡,0没有1有 */
    @Excel(name = "是否有信用卡,0没有1有")
    private Integer isHaveCreditCard;

    /** 婚姻状况,0没有1有 */
    @Excel(name = "婚姻状况,0没有1有")
    private Integer maritalStatus;

    /** 联系人姓名 */
    @Excel(name = "联系人姓名")
    private String contactName;

    /** 联系人电话 */
    @Excel(name = "联系人电话")
    private String contactPhone;

    /** 联系人关系 */
    @Excel(name = "联系人关系")
    private String contactRela;

    /** 现居地址 */
    @Excel(name = "现居地址")
    private String liveAddressNow;

    /** 银行卡卡号 */
    @Excel(name = "银行卡卡号")
    private String bankCardNumber;

    /** 银行卡-正面
 */
    @Excel(name = "银行卡-正面 ")
    private String bankCardPositive;

    /** 银行卡-反面
 */
    @Excel(name = "银行卡-反面 ")
    private String bankCardReverse;

    /** 创建人
 */
    @Excel(name = "创建人 ")
    private String createPerson;

    /** 修改人
 */
    @Excel(name = "修改人 ")
    private String updatePerson;

    /** 逻辑删除,0没有1有 */
    @Excel(name = "逻辑删除,0没有1有")
    private Integer isDeleted;

    /** 信息是否填写完成,0没有1有，用于判断已验证 */
    @Excel(name = "信息是否填写完成,0没有1有，用于判断已验证")
    private Integer infoIsOk;

    /** 信息验证到第几步,信息填写一半，下次接着写（可有可无） */
    @Excel(name = "信息验证到第几步,信息填写一半，下次接着写", readConverterExp = "可=有可无")
    private Long stepsNumber;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setAvailableCredit(Integer availableCredit) 
    {
        this.availableCredit = availableCredit;
    }

    public Integer getAvailableCredit() 
    {
        return availableCredit;
    }
    public void setIdCardNumber(String idCardNumber) 
    {
        this.idCardNumber = idCardNumber;
    }

    public String getIdCardNumber() 
    {
        return idCardNumber;
    }
    public void setIdCardPositive(String idCardPositive) 
    {
        this.idCardPositive = idCardPositive;
    }

    public String getIdCardPositive() 
    {
        return idCardPositive;
    }
    public void setIdCardReverse(String idCardReverse) 
    {
        this.idCardReverse = idCardReverse;
    }

    public String getIdCardReverse() 
    {
        return idCardReverse;
    }
    public void setMonthIn(Long monthIn) 
    {
        this.monthIn = monthIn;
    }

    public Long getMonthIn() 
    {
        return monthIn;
    }
    public void setIsHaveCreditCard(Integer isHaveCreditCard) 
    {
        this.isHaveCreditCard = isHaveCreditCard;
    }

    public Integer getIsHaveCreditCard() 
    {
        return isHaveCreditCard;
    }
    public void setMaritalStatus(Integer maritalStatus) 
    {
        this.maritalStatus = maritalStatus;
    }

    public Integer getMaritalStatus() 
    {
        return maritalStatus;
    }
    public void setContactName(String contactName) 
    {
        this.contactName = contactName;
    }

    public String getContactName() 
    {
        return contactName;
    }
    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }
    public void setContactRela(String contactRela) 
    {
        this.contactRela = contactRela;
    }

    public String getContactRela() 
    {
        return contactRela;
    }
    public void setLiveAddressNow(String liveAddressNow) 
    {
        this.liveAddressNow = liveAddressNow;
    }

    public String getLiveAddressNow() 
    {
        return liveAddressNow;
    }
    public void setBankCardNumber(String bankCardNumber) 
    {
        this.bankCardNumber = bankCardNumber;
    }

    public String getBankCardNumber() 
    {
        return bankCardNumber;
    }
    public void setBankCardPositive(String bankCardPositive) 
    {
        this.bankCardPositive = bankCardPositive;
    }

    public String getBankCardPositive() 
    {
        return bankCardPositive;
    }
    public void setBankCardReverse(String bankCardReverse) 
    {
        this.bankCardReverse = bankCardReverse;
    }

    public String getBankCardReverse() 
    {
        return bankCardReverse;
    }
    public void setCreatePerson(String createPerson) 
    {
        this.createPerson = createPerson;
    }

    public String getCreatePerson() 
    {
        return createPerson;
    }
    public void setUpdatePerson(String updatePerson) 
    {
        this.updatePerson = updatePerson;
    }

    public String getUpdatePerson() 
    {
        return updatePerson;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }
    public void setInfoIsOk(Integer infoIsOk) 
    {
        this.infoIsOk = infoIsOk;
    }

    public Integer getInfoIsOk() 
    {
        return infoIsOk;
    }
    public void setStepsNumber(Long stepsNumber) 
    {
        this.stepsNumber = stepsNumber;
    }

    public Long getStepsNumber() 
    {
        return stepsNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("phoneNumber", getPhoneNumber())
            .append("availableCredit", getAvailableCredit())
            .append("idCardNumber", getIdCardNumber())
            .append("idCardPositive", getIdCardPositive())
            .append("idCardReverse", getIdCardReverse())
            .append("monthIn", getMonthIn())
            .append("isHaveCreditCard", getIsHaveCreditCard())
            .append("maritalStatus", getMaritalStatus())
            .append("contactName", getContactName())
            .append("contactPhone", getContactPhone())
            .append("contactRela", getContactRela())
            .append("liveAddressNow", getLiveAddressNow())
            .append("bankCardNumber", getBankCardNumber())
            .append("bankCardPositive", getBankCardPositive())
            .append("bankCardReverse", getBankCardReverse())
            .append("createTime", getCreateTime())
            .append("createPerson", getCreatePerson())
            .append("updateTime", getUpdateTime())
            .append("updatePerson", getUpdatePerson())
            .append("isDeleted", getIsDeleted())
            .append("infoIsOk", getInfoIsOk())
            .append("stepsNumber", getStepsNumber())
            .toString();
    }
}
